package com.atguigu.democustomer230301.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Customer {
    private Integer id;
    private String name;
    private String com;
    //如果在写入数据的时候不想让这个属性的值写入数据库 那么可以加下面这个注解
    @TableField(exist = false)
    private Integer age;


}
